!#/bin/bash
yum update -y && yum install -y epel-release
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-4.el7.elrepo.noarch.rpm
yum --enablerepo="elrepo-kernel" install kernel-ml kernel-ml-dev
yum remove kernel-headers
yum --enablerepo="elrepo-kernel" install kernel-ml-headers